﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Users {

    /// <summary>
    /// This Entity is used only for Admin.
    /// It inherit from UserEnt and has some extra data field from another tables.
    /// </summary>
    [Serializable]
    public class UserAdminEnt : UserEnt {

        #region Properties

        /// <summary>
        /// This field is only used for display extra data.
        /// </summary>
        /// <value>The name of the avatar file.</value>
        public string AvatarFileName { get; set; }
        /// <summary>
        /// This field is only used for display extra data.
        /// </summary>
        /// <value>The avatar image store ID.</value>
        public int AvatarImageStoreID { get; set; }
        /// <summary>
        /// This field is only used for display extra data.
        /// </summary>
        /// <value>The avatar status.</value>
        public EUserAvatarStatus AvatarStatus { get; set; }
        /// <summary>
        /// This field is only used for display extra data.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }
        /// <summary>
        /// This field is only used for display extra data.
        /// </summary>
        /// <value>The mobile phone.</value>
        public string MobiPhone { get; set; }
        /// <summary>
        /// This field is only used for display extra data.
        /// </summary>
        /// <value>The gender.</value>
        public EUserGender Gender { get; set; }
        /// <summary>
        /// This field is only used for display extra data.
        /// </summary>
        /// <value>The blast.</value>
        public string Blast { get; set; }
        /// <summary>
        /// This field is only used for display extra data.
        /// </summary>
        /// <value>The reported time.</value>
        public short ReportedTime { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="UserAdminEnt"/> class.
        /// </summary>
        public UserAdminEnt()
            : base() {
            AvatarFileName = string.Empty;
            AvatarImageStoreID = 0;
            AvatarStatus = EUserAvatarStatus.Available;
            Name = string.Empty;
            MobiPhone = string.Empty;
            Gender = EUserGender.Unknown;
            Blast = string.Empty;
        }

        #endregion
    }
}
